using System.Threading.Tasks;
using JoyfulHomeJourney.BackEnd.Infrastructure.Atrributes;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses;
namespace JoyfulHomeJourney.BackEnd.Server.Interfaces
{
	[ProvideClassOrInterface]
	public interface ICarEventsServer
	{
		Task<ResponseApiDto> AddAsync(RequestCarEventsDto dto,string uid);
		Task<ResponseApiDto> UpdateAsync(RequestCarEventsDto dto);
		Task<ResponseApiDto> DeleteAsync(RequestCarEventsDto dto);
		Task<ResponseApiDto> PaginationAsync(int page, int limit);
        Task<ResponseApiDto> Get_underway(int page, int limit, string key);
        Task<ResponseApiDto> Get_js_underway(int page, int limit, string key);
    }
}
